const express = require('express');
const router = express.Router();
const healthTrendController = require('../controllers/healthTrendController');
const authMiddleware = require('../middlewares/authMiddleware');

// 所有路由需要认证
router.use(authMiddleware);

// 获取健康趋势数据
router.get('/', healthTrendController.getTrends);

module.exports = router; 